from django.db import models

# Create your models here.
class Role(models.Model):
    name = models.CharField(max_length=250)

    def __str__(self):
        return self.name

class User(models.Model):
    name = models.CharField(max_length=250)
    img = models.ImageField()
    count = models.IntegerField(null=True,default=True)
    role_id = models.ForeignKey('Role',on_delete=models.CASCADE)

class cishu(models.Model):
    counts = models.IntegerField()